package com.java.service;

import com.java.entity.Answer;

import java.util.List;

public interface AnswerService {

    int insert(Answer answer);

    int insertBatch(List<Answer> answers);

    int delete(Integer answerId);

    int update(Answer answer);

    Answer selectOne(Integer answerId);

    List<Answer> selectAll();

}
